
Ext.form.Field.prototype.msgTarget = 'under';
Ext.form.FormPanel.prototype.labelWidth= 80;  
Ext.form.FormPanel.prototype.labelAlign='left';
Ext.form.BasicForm.prototype.waitTitle = '处理中';
Ext.grid.DateColumn.prototype.format   = "Y-m-d";
Ext.form.DateField.prototype.format = "Y-m-d";
//page
PAGE_LIMIT  = 10
Ext.PagingToolbar.prototype.displayInfo=true;
Ext.PagingToolbar.prototype.displayMsg='从{0} 到 {1} 总共 {2} ';
Ext.PagingToolbar.prototype.emptyMsg = "无记录";
Ext.PagingToolbar.prototype.pageSize=PAGE_LIMIT;
//grid
Ext.grid.GridPanel.prototype.enableHdMenu =false;
Ext.grid.ColumnModel.prototype.defaultSortable =true;
Ext.grid.GridPanel.prototype.stripeRows=true;
Ext.BLANK_IMAGE_URL = rootPath +'/resource/extjs/skins/default/images/default/s.gif';

//combox
/*
Ext.form.ComboBox.prototype.mode = "local";
Ext.form.ComboBox.prototype.triggerAction = "all";
Ext.form.ComboBox.prototype.valueField = "id";
Ext.form.ComboBox.prototype.displayField = "displayText";//
Ext.form.TextField.prototype.width = 140;
Ext.form.ComboBox.prototype.width = 140;
*/
//其他变量
MUST_SELECT_ONE = "请选中一行";
SERVER_ERROR = "服务器错误，请稍后再试"
OPERATION_SUCCESS="操作成功"

Ext.form.DisplayField.prototype.fieldClass ="display-field";
defalutBlankText="不能为空";




